//
//  CaculateMD5.h
//  SWCommonFrame
//
//  Created by shaowei on 13-6-17.
//  Copyright (c) 2013年 shaowei. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CaculateMD5 : NSObject

+(NSString *)calculateMD5WithString:(NSString *)str;
+(NSString *)calculateMD5WithFileData:(NSData *)fileData;
+(NSString *)calculateMD5WithFilePath:(NSString *)filePath;
+(NSString *)calcMD5WithFilePath:(NSString *)filePath;
+(BOOL)compareWithMD5:(NSString *)MD5 string:(NSString *)str;
+(BOOL)compareWithMD5:(NSString *)MD5 fileData:(NSData *)fileData;
+(BOOL)compareWithMD5:(NSString *)MD5 filePath:(NSString *)filePath;

@end
